#ifndef WIFI_CONFIG_H
#define WIFI_CONFIG_H
#include "prj_config.h"

#define WIFICONFIG_DEBUG
#define TFT_SHOW
#include <WiFi.h>
#include <WebServer.h>
#include <SPIFFS.h> //闪存文件系统
#include <HTTPClient.h>

extern WebServer server;         //外部Web服务端口为80
extern String targetip;
extern String targetport;
extern String str_ssid;
extern String str_password;
void handleRoot();
void handleConnect();
void wificonfig();
void removeConfig();
void handlecampost();
void printLocalTime();
void showConnect();

#endif